package com.naire.modul.code_inc.service;

import net.common.service.GeneralService;
import com.naire.modul.code_inc.dao.Code_incDao;
import com.naire.modul.code_inc.dao.impl.Code_incDaoImpl;
import com.naire.modul.code_inc.vo.Code_incVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class Code_incFindService extends GeneralService {

	private Code_incVo bean;
	private String code_num;
	private String preffix;

	@Override
	public void execute() throws Exception {
		Code_incDao dao = new Code_incDaoImpl();
		bean = dao.find(code_num, preffix);
	}

	public Code_incVo getBean() {
		return bean;
	}

	public void setCode_num(String code_num) {
		this.code_num = code_num;
	}

	public void setPreffix(String preffix) {
		this.preffix = preffix;
	}


}
